package com.woniuxy.core.exception.certifiedException;

public enum CertifiedExceptionCode {


    CANNOT_OPERATE_ONESELF(1013,"不能操作自己"),
    ACCOUNT_DISABLE(1012,"账号被禁用"),
    CANNOT_OTHER_PROPERTIES(1011,"无法操作其他物业账号"),
    CANNOT_DISABLE(1010,"无法操作超级管理员"),
    HAVE_NO_AUTHORITY(1009,"权限等级不够"),
    ACCOUNT_EXIST(1008,"账号已存在"),
    CANNOT_LOGIN(1007,"错误次数超过五次,一小时内无法登录"),
    PASS_ERROR(1006,"密码错误"),
    ACCOUNT_INEXISTENCE(1005,"账号不存在"),
    INVALID_INPUT(1004,"无效输入"),
    DO_NOT_REPEAT_OPERATION(1003,"请勿重复操作"),
    PICTURE_FORMAT_ERROR(1002,"上传图片格式错误"),
    CERTIFIED_NOT_EXIST(1001,"物业不存在");

    private Integer code;

    private String message;

    CertifiedExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
